public class MaxCount {
    public static void main(String[] args) {
        int max = max3(1,3,2);
        System.out.println(max);
    }
    public static int max2(int num1,int num2){
        int i = num1 > num2 ? num1 : num2;
        return i;
    }
    public static int max3(int num1,int num2,int num3){
        int temp = max2(num1,num2);
        temp = temp > num3 ? temp : num3;
        return temp;
    }
}
